home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 87
/
087.d81
/
doodle show
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
4KB
|
143 lines
100 poke53280,0:poke53281,0
140 poke55,0:poke56,64:clr:a$=""
142 dv=peek(186):ifdv<8thendv=8
143 dimr$(12),an$(12,14),e(12)
145 gosub60000
155 def fnd(i)=20-(len(an$(x,i))/2)
160 sys57812"unpacker.89",dv,0:poke780,0:poke781,0:poke782,201:sys65493
180 sys57812"title.shp",dv,0:poke780,0:poke781,0:poke782,64:sys65493
190 poke251,64:poke252,96:poke253,92:sys51456
195 poke252,96:poke253,92:sys51459
197 sys57812"wp.o $c000",dv,0:poke780,0:poke781,0:poke782,192:sys65493
198 sys57812"inpany/copy",dv,0:poke780,0:poke781,60:poke782,3:sys65493
200 ip=828:unpack=51456:hgr=51459:cp=928
210 bo=53280:bg=53281
220 open2,dv,2,"doodle info,p,r"
222 j=1:k=0:fori=0to1:sysip,2,40:i=st
224 ifa$="*"thenj=j+1:k=0:goto228
226 k=k+1:an$(j,k)=a$
228 next:close2
240 np=j:forx=1tonp:r$(x)="doodle"+str$(x)+".shp"
250 next
260 syshgr
270 forx=1tonp
280 gosub1810
285 fh=0:ifleft$(r$(x),2)="u."thenfh=1
290 sys57812r$(x),dv,0:poke780,0:poke781,0:poke782,64:sys65493
300 e(x)=peek(53281)
310 gosub1910:ifa$="q"ora$="[209]"thengosub1250
312 gosub2000
340 kk=0:poke198,0
360 kk=kk+1:geta$
370 ifa$="q"ora$="[209]"thengosub1250
380 ifa$="s"ora$="[211]"then470
385 ifa$="p"ora$="[208]"thengosub3000:goto340
390 ifa$="b"ora$="[194]"thenpokebo,(peek(bo)+1)and15:goto340
400 ifa$=" "then420
419 ifkk<400then360
420 syshgr:print"[147]":poke198,0:next x
430 goto270
470 sys hgr
480 pokebo,0:pokebg,0
560 print"[147][159] [212]his will save the picture as a"
562 print" [196][207][207][196][204][197]! file."
564 print" [211]ource drive is"dv
566 print"[159] [196]estination drive # ([154]8[159] - [154]12[159]): ";:l9%=2:gosub50000:de=val(q9$)
568 ifde<8orde>12then560
590 print"[159] [198]ilename: dd";:l9%=14:gosub50000:ifq9$=""then1110
620 nm$=left$("dd"+q9$,14)
820 open15,de,15,"r0:"+nm$+"="+nm$:input#15,er,er$:close15
830 ifer=63thengosub1170:goto1110
950 sys57812nm$,de:poke193,0:poke194,92:poke174,0:poke175,128:sys62954
980 open15,8,15:input#15,er,er$,y$,z$:close15
990 iferthengosub1170:goto490
1030 pokebo,0:pokebg,0
1050 print" [211]uccessful save!"
1060 fort=1to2000:next
1110 syshgr:goto340
1170 print" [196]isk error!
1180 [151]214,10:[153]
1190 a$[178]"print#valrror #"[170][196](er)[170]"print#,"[170]er$
1200 x%[178]22[171][195](a$)[173]2:[153][163]x%);a$
1210 [151]214,21:[153]
1220 [153]"open (NULL)ress (NULL)(NULL)atnlenvalopen to continue."
1230 [161]a$:[139]a$[179][177]" "[167]1230
1240 [142]
1250 o[178][194](53270)[175]16
1255 [139]o[167][158]51459
1260 [151]bo,0:[151]bg,0
1270 [153]"load":[151]214,11:[153]:[153]"cont (NULL)uit? (ycont/ncont)":[151]198,0
1280 [161]a$:[139]a$[179][177]"y"[175]a$[179][177]"n"[167]1280
1290 [139]a$[178]"y"[167]1330
1295 [139]o[167][158]51459
1300 [142]
1330 [159]15,8,15,"r0:hello connect=hello connect":[132]15,er:[160]15
1340 [139]er[179][177]63[167][153]"load":[128]
1350 [153]"loadstopload"[199](34)"hello connect"[199](34)",8"
1360 [153]"run"
1370 [151]631,13:[151]632,13:[151]198,2:[128]
1770 [153]"";
1810 [151]bg,9:[151]bo,9
1820 [153]"loadstoportantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^"
1830 [129]qx[178]1[164]15
1840 [153]"(NULL)"[163]38)"(NULL)":[130]
1850 [153]"/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp"
1860 [129]lx[178]217[164]242:[151]lx,([194](lx)[176]128):[130]
1870 [153]""
1880 [129]i[178]1[164]13
1882 [153][163][165]d(i))an$(x,i)
1886 [130]
1900 [142]
1910 kk[178]0
1915 [151]214,16:[153]:[153]"print (NULL)hile the slide is showing..."
1916 [153]" peek sys- changes border color"
1918 [153]" (NULL) sys- takes you to (NULL)(NULL)right$(NULL)(NULL) routine"
1919 [153]" (NULL) sys- takes you to (NULL)atn(NULL)val routine"
1920 [153]" (NULL) sys- quits to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)"
1925 [151]214,23:[153]
1930 [153]"print(NULL)ress (NULL) to quit - atnny other to continueon"
1940 kk[178]kk[170]1:[161]a$:[139]a$[179][177]""[176]kk[177]1000[167][142]
1950 [137]1940
2000 [153]"load";:[139]fh[167][151]254,0:[158]ba:[137]2040
2020 [151]bg,15:[151]bo,15:[151]251,64:[151]252,96:[151]253,92
2030 [158]un
2040 [151]252,96:[151]253,92:[158]hgr:[142]
2050 [142]
3000 [158]hgr:[151]bo,0:[151]bg,0
3010 [153]"load"
3020 [159]4,4:[152]4:[160]4
3030 [139]st[179][177][171]128[167]3070
3040 [153]"loadopen (NULL)urn your printer on and press (NULL)(NULL)atnlenvalopen."
3050 [161]a$:[139]a$[179][177]" "[167]3050
3060 [137]3020
3070 [153]"open (NULL)ress (NULL)val(NULL)(NULL)(NULL)(NULL)open to print the graphic, or
3080 print" press [211][208][193][195][197][159] to go back to the graphic.
3090 [161]a$:[139]a$[179][177]" "[175]a$[179][177][199](13)[167]3090
3100 [139]a$[178][199](13)[167][151]49162,96:[158]hgr:[158]49152:[142]
3110 [158]hgr:[142]
10000 [159]15,8,15,"s0:doodle show":[160]15:[148]"doodle show",8:[128]
50000 q9$[178]"":u9[178]53280:[151]198,0
50010 [161]a$
50020 [151]646,[187](1)[172]15[170]1:[153]"tocmd";:[139]a$[178]""[167]50010
50030 [139]a$[178][199](13)[167][153]" ":[142]
50040 [139](a$[178][199](20)[175][195](q9$))[167]q9$[178][200](q9$,[195](q9$)[171]1):[137]50080
50050 [139][195](q9$)[177][178]l9%[167]t9%[178][194](u9):[151]u9,1:[151]u9,t9%:[137]50010
50060 [139]a$[179]" "[176](a$[177][199](127)[175]a$[179][199](160))[176]a$[178][199](34)[167]50010
50070 q9$[178]q9$[170]a$
50080 [153]""a$;:[137]50010
60000 [153]"loadfor str$ (NULL) (NULL) str$ (NULL) val (NULL) (NULL) asc"
60002 [153]" asc atn (NULL) (NULL) (NULL) (NULL) (NULL) (NULL) atn str$ (NULL) (NULL) atn (NULL) right$ (NULL) val (NULL)"
60004 [153]"cont "[199](34)"peekoredom breeds bombast."[199](34)
60006 [153][163]22)"(NULL)nees lenalhoon"
60009 b9$[178]" "
60010 [151]214,14:[153]:[153]" listfrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefreprint#"
60020 [129]i[178]0[164]7:[153]b9$:[130]:[153]" pokeposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposprint#"
60030 b9$(0)[178]"(NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL) str$(NULL)(NULL)str$(NULL)val(NULL)"
60040 b9$(1)[178]"by ascamous (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)ites"
60050 b9$(2)[178]"(NULL)1.0 (len) 1991 by (NULL)oftdisk, right$nc."
60060 b9$(3)[178]"(NULL)ublished on (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL) #87"
60070 b9$(4)[178]"(NULL)ubscriptions 1-800-831-2694"
60080 b9$(5)[178]"atnll (NULL)ights (NULL)eserved"
60090 [151]214,16:[153]:[129]i[178]0[164]5:[153][163]20[171]([195](b9$(i))[173]2))""b9$(i):[130]
60095 [142]